package cn.lili.modules.order.order.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UnionMonthFundsVO {

    @ApiModelProperty("工会ID")
    public String unionId;

    @ApiModelProperty("统计日期")
    private String yearMonth;

    @ApiModelProperty("已结算绿色积分")
    private Double settlementGreenScore = 0D;

    @ApiModelProperty("已结算绿色贡献值")
    private Double settlementUmber = 0D;

    @ApiModelProperty("未结算金额")
    private Double unSettlementPrice = 0D;

    @ApiModelProperty("发放状态：0未发放、1已发放")
    private String status;

    @ApiModelProperty("工会收益发放时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("发放金额")
    private Double funds;

    @ApiModelProperty("发放类型：贡献值、绿色积分")
    private String fundsType;
}

 